
var nav = document.querySelectorAll(".filter_ul>li");
var cons = document.querySelectorAll(".info_ul>li");

nav.forEach(function(a){
    // console.log(a);
    a.onclick = function(){

        nav.forEach(function(b,index){
            // console.log(b,index);
            if(this == b){
                console.log(b+"-------b");
                b.className = "active";
                cons[index].className = "show";
            }else{
                b.className = "disappear";
                cons[index].className = "";
            }
        },this)
    }
})